package dto

type IncomeExpenseDetailTypeBasic struct {
	Name  string `json:"name" binding:"required"`
	Title string `json:"title" binding:"required"`
}

type IncomeExpenseDetailType struct {
	IncomeExpenseDetailTypeBasic
	ID                *string `json:"id"`
	IncomeExpenseType string  `json:"incomeExpenseType" binding:"required"`
	Subtitle          *string `json:"subtitle,omitempty"`
	AnalysisIncluded  *bool   `json:"analysisIncluded" binding:"required"`
}

type IncomeExpenseDetailTypeRequest struct {
	IncomeExpenseDetailType
}

type IncomeExpenseDetailTypeResponse struct {
	IncomeExpenseDetailType
	Timestamps
}

type IncomeExpenseDetailTypeBasicInfoResponse struct {
	IncomeExpenseDetailTypeBasic
}
